<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>websocket客户端2</title>
    <script type="text/javascript" src="js/websocket_client2.js"></script>
</head>
<body>
<h1>websocket客户端2</h1>
<div style="text-align: left;">
    <form action="">
        <p>
            <input onclick="send_echo()" value="点击连接服务器" type="button"/>
        </p>
        <p>
            <input id="message"  placeholder="请输入要发送的消息"  type="input"/>
            <input onclick="doSend()" value="发送消息" type="button"/>

        </p>
        <p>
            <input onclick="onClose()" value="关闭连接" type="button" style="background-color: red"/>
        </p>
        <p>

        </p>





    </form>
</div>

<div id="output"></div>
</body>
</html>
